<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="css/common.css"/>
    <link rel="stylesheet" href="css/loading.css"/>
    <link rel="stylesheet" href="css/danganxinxi.css"/>
    <script src="js/jquery.min.js"></script>
    <script src="js/jquery.cookie.js"></script>
    <script src="js/config.js"></script>
    <script src="js/ajax.js"></script>
    <script src="js/template.js"></script>
    <script src="js/all.list.js"></script>
    <script src="/assets/layer/layer.js"></script>
</head>
<body>
<div id="header">
    <p>选择人员</p>
    <span class="back"><a href="member_index.html">返回</a></span>
</div>
<div id="main">
    <div class="top">选择需要查看人员</div>
    <!-- 等待动画-->
    <div class="load"><img src="imgs/loading.gif" alt=""/></div>
    <ul class="person_list">

    </ul>
</div>
</body>
</html>
<script id="danganTem" type="text/html">
    {{each data value index}}
    {{if value.has_card}}
    <li onclick="javascript:window.location.href='Hospitalization.html?m_id={{value.id}}'">{{value.name}}</li>
    {{else/}}
    <li onclick="javascript:layer.msg('请绑定就诊卡，查看相关信息')">{{value.name}}</li>
    {{/if}}
    {{/each}}
</script>